home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / plotting / imagetoo / imagetl1.lha / Imagetool / headers / define.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-09-20  |  3.5 KB  |  129 lines

  1. /*
  2. ******************************************************************************
  3. *                               NCSA ImageTool 1.1 beta
  4. *                           Thu Sep 20 16:58:25 CDT 1990
  5. * NCSA ImageTool 1.1 beta source code and documentation are in the public
  6. * domain.
  7. * Specifically, we give to the public domain all rights for future licensing
  8. * of the source code, all resale rights, and all publishing rights.
  9. * We ask, but do not require, that the following message be included in all
  10. * derived works:
  11. * Portions developed at the National Center for Supercomputing Applications at
  12. * the University of Illinois at Urbana-Champaign.
  13. * THE UNIVERSITY OF ILLINOIS GIVES NO WARRANTY, EXPRESSED OR IMPLIED, FOR THE
  14. * SOFTWARE AND/OR DOCUMENTATION PROVIDED, INCLUDING, WITHOUT LIMITATION,
  15. * WARRANTY OF MERCHANTABILITY AND WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE
  16. ******************************************************************************
  17. */
  18. /* cat > headers/define.h << "EOF" */
  19. /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
  20. /* define.h: definitions for ImageTool 1.1        */
  21. /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
  22. /* SCCS information: %W%    %G% */
  23.  
  24. /* external variables */
  25.  
  26.     Pixwin *pw;
  27.  
  28.     Frame base;
  29.     Frame help_window;
  30.     Frame plot_window, scale_box;
  31.  
  32.     Panel menu_panel; 
  33.     Panel panel;
  34.  
  35.     Panel_item Image, Palette, Edit, Zoom, Graph, Ftp, Help, Option;
  36.     Panel_item image_board;
  37.     Panel_item store_but,show_but,delete_but, flush_but;
  38.     Panel_item pause_but,next_but,last_but,inc_but,dec_but;
  39.     Panel_item dir_board, pal_board, var_board;
  40.     Panel_item xdim_item, ydim_item;
  41.     Panel_item image_item, pal_item, help_item;
  42.     Panel_item roll_item, pitch_item, yaw_item;
  43.     Panel_item title_item, level_item;
  44.  
  45.     Menu edit_menu;
  46.     Menu help_menu;
  47.     Menu image_menu;
  48.     Menu ani_sub_menu, load_menu, save_menu;
  49.     Menu pal_menu, zoom_menu, graph_menu;
  50.     Menu ftp_menu, option_menu;
  51.  
  52.     Canvas pcanvas;
  53.     Canvas canvas;
  54.  
  55.     Textsw textsw;
  56.  
  57.     Tty ttysw;
  58.  
  59.     int startx, starty;
  60.     int clear_request, pos_picked;
  61.     int square_drawn, line_drawn;
  62.     int first_point, middle_button_down, first_middle_down, is_moving;
  63.     int copy_request, paste_request;
  64.     int color_edit_mode;
  65.     int gminexp, gmaxexp, pintv, ntix;
  66.     int linear_scaling, graph_mode;
  67.     int last_dir, has_xscale, has_yscale;
  68.     int color_index;
  69.     int animation_go;
  70.     int rev_image;
  71.     int pause_request, nseq, repeat_index;
  72.     int getloop_go;
  73.     int dark_bg, main_quit;
  74.  
  75.     bool oblique = FALSE;
  76.     float stats_xmin, stats_xmax, stats_ymin, stats_ymax;
  77.     float stats_gmin, stats_gmax;
  78.     float last_xscale, last_yscale;
  79.     float scalez;
  80.     float pitch_angle = 0, yaw_angle = 0, roll_angle = 0;
  81.  
  82.     double zform00, zform01, zform10, zform11;
  83.  
  84.     char msgstr[MAXNAMELEN];
  85.     char help_dir[MAXNAMELEN];
  86.     char saver_name[MAXNAMELEN];
  87.     char current_dir[MAXNAMELEN], default_cdir[MAXNAMELEN]; 
  88.     char printer[MAXNAMELEN];
  89.     char cmsname[20];
  90.  
  91.     char **fn;
  92.     
  93.     struct line_rec line_rec;
  94.     struct square_rec square;
  95.     struct clipbd_type clipboard;
  96.     struct image_rec curr_image;
  97.     struct image_rec curr_movie;
  98.     
  99. /* ~~~~~~~~~~~~~~~~~~~~ 1.1 additions ~~~~~~~~~~~~~~~~~~~~ */
  100.  
  101.     Textsw msgsw;
  102.     Panel_item save_toggle;
  103.     Pixfont *font_panel_button, *font_panel, *font_menu;
  104.     char wkstr[2*MAXNAMELEN], wkstr2[2*MAXNAMELEN];
  105.  
  106.     Menu stack_menu, show_menu;
  107.     Panel_item store_but_msg, show_but_msg, delete_but_msg;
  108.  
  109.     Frame path_frame;
  110.     Panel path_panel;
  111.     Panel_item path_return_but, path_cancel_but;
  112.  
  113.     struct pixrect *image[MAXFRAMES];
  114.     struct image_rec var_table[MAXTABLE+1];
  115.  
  116.     Frame def_box;
  117.     Panel def_panel;
  118.     Menu printer_menu;
  119.  
  120.     Panel dialog_panel;
  121.     Panel_item text_item;
  122.  
  123. /* EOF */
  124.